package com.luoc.service.impl;

import com.luoc.service.Handler;

/**
 * @Author: luoc
 * @Date: 2019/9/26 15:22
 */
public class ConcreteHandler2 extends Handler {
    @Override
    public void handleRequest(String request) {
        if ("2".equals(request)){
            System.out.println("2");
        }else {
            this.handler.handleRequest(request);
        }

    }
}
